﻿using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using cludg.Web.Core.Validation;
using cludg.Web.Core.ViewModels;

namespace cludg.Web.ViewModels
{
	public class ResetPasswordModel : BaseModel
	{
		[Required(ErrorMessage = ValidationConst.RequiredMessage)]
		[DisplayName("Email для востановления пароля")]
		[RegularExpression(ValidationConst.EmailRegEx, ErrorMessage = ValidationConst.EmailIsIvalidErrorMessage)]
		public string Email { get; set; }
	}
}